<?php
//公共方法库
function xdebug()
{
    echo "<meta charset='UTF-8'><pre style='padding:20px; background: #000000; color: #FFFFFF;'>\r\n";
    if (func_num_args()) {
        foreach (func_get_args() as $k => $v) {
            echo "------- Debug $k -------<br/>\r\n";
            print_r($v);
            echo "<br/>\r\n";
        }
    }
    echo '</pre>';
    exit;
}

function pt($key){
  return $_POST[$key];
}

function gt($key){
  return $_GET[$key];
}
